package com.xymtop.api.mapper;

import com.xymtop.api.entity.Comment;
import com.xymtop.api.vo.CommentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
*@Description:评论相关操作
*@Parameter:
*@Return:
*@Author:肖叶茂
*@Date:2022/12/5
**/
@Mapper
public interface MyCommentMapper {
    int addComment(Comment comment);
    int deleteComment(String id);
    Comment getComment(String id);
    List<Comment> getCommentByProjectId(String id);
    List<CommentVO> getComments(String projectid);
    List<Comment> ins(String key);

}
